﻿#ifndef TRCHARTTOPBAR_H
#define TRCHARTTOPBAR_H

#include <QWidget>
#include <QLabel>
#include <QHBoxLayout>
#include "TrChartTypes.h"
#include "TrChartPeriodBar.h"



class TrChartTopBar : public QWidget
{
    Q_OBJECT
public:
    explicit TrChartTopBar(QWidget *parent = nullptr);
    void virtual paintEvent(QPaintEvent* event);
    void setCode(const QString& code);
    TrChartPeriodBar* getBarPtr();
private:
    QString m_stCode;
    TrChartPeriodBar *m_pChartPeriodBar = nullptr;
signals:

};

#endif // TRCHARTTOPBAR_H
